package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.UserMeetAudioMapper;
import com.ruoyi.system.domain.UserMeetAudio;
import com.ruoyi.system.service.IUserMeetAudioService;

/**
 * 用户会议音频Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
@Service
public class UserMeetAudioServiceImpl implements IUserMeetAudioService 
{
    @Autowired
    private UserMeetAudioMapper userMeetAudioMapper;

    /**
     * 查询用户会议音频
     * 
     * @param id 用户会议音频主键
     * @return 用户会议音频
     */
    @Override
    public UserMeetAudio selectUserMeetAudioById(Long id)
    {
        return userMeetAudioMapper.selectUserMeetAudioById(id);
    }

    /**
     * 查询用户会议音频列表
     * 
     * @param userMeetAudio 用户会议音频
     * @return 用户会议音频
     */
    @Override
    public List<UserMeetAudio> selectUserMeetAudioList(UserMeetAudio userMeetAudio)
    {
        return userMeetAudioMapper.selectUserMeetAudioList(userMeetAudio);
    }

    /**
     * 新增用户会议音频
     * 
     * @param userMeetAudio 用户会议音频
     * @return 结果
     */
    @Override
    public int insertUserMeetAudio(UserMeetAudio userMeetAudio)
    {
        return userMeetAudioMapper.insertUserMeetAudio(userMeetAudio);
    }

    /**
     * 修改用户会议音频
     * 
     * @param userMeetAudio 用户会议音频
     * @return 结果
     */
    @Override
    public int updateUserMeetAudio(UserMeetAudio userMeetAudio)
    {
        return userMeetAudioMapper.updateUserMeetAudio(userMeetAudio);
    }

    /**
     * 批量删除用户会议音频
     * 
     * @param ids 需要删除的用户会议音频主键
     * @return 结果
     */
    @Override
    public int deleteUserMeetAudioByIds(Long[] ids)
    {
        return userMeetAudioMapper.deleteUserMeetAudioByIds(ids);
    }

    /**
     * 删除用户会议音频信息
     * 
     * @param id 用户会议音频主键
     * @return 结果
     */
    @Override
    public int deleteUserMeetAudioById(Long id)
    {
        return userMeetAudioMapper.deleteUserMeetAudioById(id);
    }
}
